import { quality, EffectClassType, SkillType, TargetType, effectKey } from "../../../../../shared/face/enums";
import { _Skill } from "../../../types";
/**
 * 技能基础效果
 */
let data: _Skill[] = []
data.push({
    id: 'A000',
    quality:quality.F,
    name: '普通攻击',
    desc: '对单个敌人造成{effect}物理伤害',
    classType: EffectClassType.攻击型,
    data: [{
        attKey: '物理攻击',
        attRange: 0.2,
        // 升级时提升attRange的配置
        levelUpBoost: {
            attRange: 0.1  // 每次升级提升0.1的attRange
        }
    }],
    effect: [effectKey.伤害类_普通攻击],
    cooldown: 0,
    type: SkillType.主动技能,
    targetType: [TargetType.敌方],
    maxLevel: 20  // 设置最大等级为20级
})
data.push({
    id: 'A001',
    quality:quality.F,
    name: '真实伤害',
    desc: '对单个敌人造成10点真实伤害',
    classType: EffectClassType.攻击型,
    data: [{
        attKey: '真实攻击',
        attRange: 0,
        fixed: 10
    }],
    effect: [effectKey.伤害类_真实伤害],
    cooldown: 0,
    type: SkillType.主动技能,
    targetType: [TargetType.敌方]
})
export default data;